package com.asj.house.service;

import com.asj.house.entity.HouseUser;
import com.asj.house.returns.RespEntity;
import com.asj.house.returns.RespTable;
import com.asj.house.vo.param.LoginParam;
import com.asj.house.vo.param.UserParam;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 用户信息表 服务类
 * </p>
 *
 * @author asj
 * @since 2021-03-16
 */
public interface HouseUserService extends IService<HouseUser> {

    /**
     * 后台管理系统登陆功能
     * @param loginParam
     * @return
     */
    RespEntity<HouseUser> login(LoginParam loginParam);

    /**
     * 用户列表
     * @param userParam
     * @return
     */
    RespTable<List<HouseUser>> queryAllUser(UserParam userParam);

    /**
     * 发送短信验证码
     * @param mobile
     * @return
     */
    RespEntity<Integer> sendMsg(String mobile);

}
